package com.itic.appbase.framework.exception.definition;

import com.itic.appbase.framework.common.constants.ResponseCode;

/**
 * 参数错误异常
 * <p>Company: itic</p>
 * 
 * @author: xujing
 * @date: 2015年6月12日 上午8:45:04
 * @version: V1.0
 */
public class ParameterErrorException
        extends RuntimeException {

    private static final long serialVersionUID = -5242029624597618686L;

    public ParameterErrorException() {
        super(ResponseCode.PARAM_INVALID.getCode());
    }

    public ParameterErrorException(String message) {
        super(message);
    }

    public ParameterErrorException(Throwable cause) {
        super(cause);
    }

    public ParameterErrorException(String message, Throwable cause) {
        super(message, cause);
    }

}
